/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package part.system.properties;

/**
 *
 * @author Shengyi_Chen
 */
public class DatabaseProperties {
    private String DBName = "";
    /* org.apache.derby.jdbc.ClientDriver*/
    private String DBDriver = "";
    /* jdbc:derby://localhost:1527/ */
    private String DBProtocol = "";
    private String DBUser = "";
    private String DBPassword = "";
    
    public DatabaseProperties(String name, String driver, String protocal, String user, String password){
        DBName = name;
        DBDriver = driver;
        DBProtocol = protocal;
        DBUser = user;
        DBPassword = password;
    }
    
    
    /**
     * @return the DBName
     */
    public String getDBName() {
        return DBName;
    }

    /**
     * @param DBName the DBName to set
     */
    public void setDBName(String DBName) {
        this.DBName = DBName;
    }

    /**
     * @return the DBDriver
     */
    public String getDBDriver() {
        return DBDriver;
    }

    /**
     * @param DBDriver the DBDriver to set
     */
    public void setDBDriver(String DBDriver) {
        this.DBDriver = DBDriver;
    }

    /**
     * @return the DBProtocol
     */
    public String getDBProtocol() {
        return DBProtocol;
    }

    /**
     * @param DBProtocol the DBProtocol to set
     */
    public void setDBProtocol(String DBProtocol) {
        this.DBProtocol = DBProtocol;
    }

    /**
     * @return the DBUser
     */
    public String getDBUser() {
        return DBUser;
    }

    /**
     * @param DBUser the DBUser to set
     */
    public void setDBUser(String DBUser) {
        this.DBUser = DBUser;
    }

    /**
     * @return the DBPassword
     */
    public String getDBPassword() {
        return DBPassword;
    }

    /**
     * @param DBPassword the DBPassword to set
     */
    public void setDBPassword(String DBPassword) {
        this.DBPassword = DBPassword;
    }
}
